package com.example.xinlijiankangsys.service;

import com.example.xinlijiankangsys.mapper.IntiMapper;
import com.example.xinlijiankangsys.pojo.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class IntiService {
    @Autowired
    private IntiMapper intiMapper;
    public List<User> init(){
        return intiMapper.getAllUsers();
    }
}
